package com.li.spring6.web;

import com.li.spring6.service.UserService;
import com.li.spring6.service.impl.UserServiceImpl;

public class UserAction {

//    private UserService userService = new UserServiceImpl();

    //修改为
    private UserService userService;

    /**
     * 删除用户信息
     */
    public void deleteRequest() {
        userService.deleteUser();
    }
}
